package com.icode.gulimall.product.feign;

import com.icode.common.to.SkuHasStockVo;
import com.icode.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;


/**
 * @Author: my_code
 * @Create: 2020-11-29 17:27
 */
@FeignClient("gulimall-ware")
public interface WareFeignService {

    @PostMapping("/ware/waresku/checkHasStock")
    R checkHasStockBySkuId(@RequestBody List<Long> skuIds);
}
